package com.zhaoyizhe.demo.service;

import com.zhaoyizhe.demo.mapper.UserInfoMapper;
import com.zhaoyizhe.demo.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    public UserInfo getUserInfo(String userName) {
        return userInfoMapper.getUserInfo(userName);
    }


}
